package com.fqgj.sentry.manage.service;

import com.fqgj.sentry.manage.entity.McUserEntity;

/**
 * Created by ykpbean kangping.ying@yuntu-inc.com
 *
 * @description
 * @create 2017-07-15 下午10:40
 */


public interface BaseInfoService {
    /**
     * 查找用户基础信息
     * @param userId
     * @return
     */
    public McUserEntity selectBaseInfo(Long userId);

    /**
     * 更新用户信息
     * @aram userEntity
     * @return
     */
   public Boolean updateBaseInfo(McUserEntity userEntity);

    /**
     * 更新用户密码
     * @param userId
     * @param newPassWord
     * @param oldPassWord
     * @return
     */
   public Boolean modifyPassWord(Long userId ,String newPassWord,String oldPassWord);
}
